// TextureGeneratorDlg.h : header file
//

#if !defined(AFX_TEXTUREGENERATORDLG_H__C2806E78_A154_46E5_BC29_D012A142E245__INCLUDED_)
#define AFX_TEXTUREGENERATORDLG_H__C2806E78_A154_46E5_BC29_D012A142E245__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "texgen.h"

/////////////////////////////////////////////////////////////////////////////
// CTextureGeneratorDlg dialog

class CTextureGeneratorDlg : public CDialog
{
// Construction
public:
	CTextureGeneratorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTextureGeneratorDlg)
	enum { IDD = IDD_TEXTUREGENERATOR_DIALOG };
	CButton	m_BrowseButton;
	CEdit	m_FilenameBox;
	CListBox	m_ActionList;
	CListBox	m_SelectActionList;
	CStatic	m_NameParamLabel;
	CStatic	m_Param4Label;
	CStatic	m_Param3Label;
	CStatic	m_Param2Label;
	CStatic	m_Param1Label;
	CSliderCtrl	m_Param4Slider;
	CSliderCtrl	m_Param3Slider;
	CSliderCtrl	m_Param2Slider;
	CSliderCtrl	m_Param1Slider;
	CListBox	m_OpList;
	CListBox	m_DataLayer2List;
	CListBox	m_DataLayerList;
	CListBox	m_CurLayerList;
	CString	m_Filename;
	CString	m_Param1LabelText;
	CString	m_Param2LabelText;
	CString	m_Param3LabelText;
	CString	m_Param4LabelText;
	BOOL	m_MaskA;
	BOOL	m_MaskB;
	BOOL	m_MaskG;
	BOOL	m_MaskR;
	CString	m_NameParamLabelText;
	BOOL	m_DisplayAlpha;
	CString	m_TexID;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTextureGeneratorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
  Generator generator;
	HICON m_hIcon;
  CString p1label,p2label,p3label,p4label;
  void updatelabels();
	void OnOK();
  void OnCancel();
  void settitle(CString title);
// Generated message map functions
	//{{AFX_MSG(CTextureGeneratorDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnFileExit();
	afx_msg void OnHelpAbout();
	afx_msg void OnApply();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnUndo();
	afx_msg void OnBrowse();
	afx_msg void OnFileNewTexture();
	afx_msg void OnFileOpenTexture();
	afx_msg void OnFileSaveTexture();
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRedo();
	afx_msg void OnDisplayAlpha();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEXTUREGENERATORDLG_H__C2806E78_A154_46E5_BC29_D012A142E245__INCLUDED_)
